package com.nc.menu.model.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;
import java.util.Set;

/**
 * 创建人:    xvzhe
 * 创建时间:
 * 修改时间:
 * 版本:      v1.0
 */
@Data
@ApiModel
public class MenuDto {
    @ApiModelProperty(hidden = true)
    private String id;

    private String name;

    @ApiModelProperty("页面URL")
    private String uri;

    @ApiModelProperty("图标")
    private String icon;

    @ApiModelProperty("菜单级数")
    private Integer series;

    @ApiModelProperty("父导航id")
    private String parentId;

    Integer orders;

    @ApiModelProperty("导航状态")
    private Boolean status;

    @ApiModelProperty("权限")
    private Set<String> permissions;

    @ApiModelProperty(hidden = true)
    private List<MenuDto> child;
}
